package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 照片业务对象 various_kinds_pic
 *
 * @author ruoyi
 * @date 2022-03-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class VariousKindsPicBo extends BaseEntity {

    /**
     * 照片自增主键
     */
    @NotNull(message = "照片自增主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 照片id
     */
    @NotBlank(message = "照片id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String picId;

    /**
     * 来源网站
     */
    @NotBlank(message = "来源网站不能为空", groups = { AddGroup.class, EditGroup.class })
    private String picSourceWebsite;

    /**
     * 照片地址
     */
    @NotBlank(message = "照片地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String picAddress;

    /**
     * 照片标题
     */
    @NotBlank(message = "照片标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String picTitle;

    /**
     * 照片类型
     */
    @NotBlank(message = "照片类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String picType;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
